package com.aaa.docter;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @program: aaa-hospital-parent
 * @description:
 * @author: 闫克起
 * @create: 2024-05-24 16:28
 **/
@SpringBootApplication
@MapperScan(basePackages = "com.aaa.docter.dao")
@EnableFeignClients
@ComponentScan(basePackages ={ "com.aaa.common","com.aaa.docter"})
@EnableSwagger2
public class DocterApp {
    public static void main(String[] args) {
        SpringApplication.run(DocterApp.class,args);
    }
}
